﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="XMQuery.aspx.cs" Inherits="UserControl_ZKQuery" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/rightDoc.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="../js/date/WdatePicker.js"></script>
    <script type="text/javascript">

        var iWidth = 640; //弹出窗口的宽度;
        var iHeight = 470; //弹出窗口的高度;
        var iTop = (window.screen.availHeight - 30 - iHeight) / 2; //获得窗口的垂直位置;
        var iLeft = (window.screen.availWidth - 10 - iWidth) / 2; //获得窗口的水平位置;

        function showUploadDialog() {
            var arr = showModalDialog("MineName.aspx", window, "dialogWidth:" + iWidth + "px;dialogHeight:" + iHeight + "px;dialogTop:" + iTop + "px;dialogLeft:" + iLeft + "px;help:no;scroll:no;status:no");
        }

        function showUploadDialogt() {
            var arr = showModalDialog("XZArea.aspx", window, "dialogWidth:" + iWidth + "px;dialogHeight:" + iHeight + "px;dialogTop:" + iTop + "px;dialogLeft:" + iLeft + "px;help:no;scroll:no;status:no");
        }


    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div id="adsright">
                <div id="Div1">
                    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" style="margin: auto; padding: 10px;" bgcolor="#E2FDFE">
                        <tr>
                            <td height="35">题 &nbsp;&nbsp;名</td>
                            <td>
                                <asp:TextBox ID="TITLE" runat="server" Width="200px" Height="20px"></asp:TextBox>
                            </td>
                            <td>档 &nbsp;&nbsp;号</td>
                            <td>
                                <input type="text" name="FILE_ID" id="FILE_ID" style="width: 200px; height: 20px;" /></td>
                        </tr>
                        <tr>
                            <td height="35">关键词</td>
                            <td>
                                <input type="text" name="KEY_WORDS" id="KEY_WORDS" style="width: 200px; height: 20px;" /></td>
                            <td>形成单位</td>
                            <td>
                                <input type="text" name="UNIT" id="UNIT" style="width: 200px; height: 20px;" /></td>
                        </tr>
                        <tr>
                            <td height="35">资料类别</td>
                            <td>
                                <select id="DATA_CLASS" name="DATA_CLASS" style="width: 205px; height: 25px;">
                                    <option value="">----------</option>
                                    <option value="区调">区调</option>
                                    <option value="矿调">矿调</option>
                                </select>
                            </td>
                            <td>工作程度</td>
                            <td>
                                <select id="WORK_LEVEL" name="WORK_LEVEL" style="width: 205px; height: 25px;">
                                    <option value="">----------</option>
                                    <option value="1/100万">1/100万</option>
                                    <option value="1/50万">1/50万</option>
                                    <option value="1/25万">1/25万</option>
                                    <option value="1/20万">1/20万</option>
                                    <option value="1/10万">1/10万</option>
                                    <option value="1/5万">1/5万</option>
                                    <option value="其他比例尺">其他比例尺</option>
                                    <option value="预查">预查</option>
                                    <option value="普查">普查</option>
                                    <option value="详查">详查</option>
                                    <option value="勘探">勘探</option>
                                    <option value="开发勘探">开发勘探</option>
                                    <option value="钻井地质">钻井地质</option>
                                    <option value="其他">其他</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td height="28" align="left">矿&nbsp;&nbsp;种</td>
                            <td>
                                <input type="text" name="MineType" id="MineType" style="width: 200px; height: 20px;" />
                                <img src="../pic/kc.png" width="16" height="16" align="absmiddle" onclick="showUploadDialog()" style="cursor: pointer; vertical-align: bottom;" /></td>
                            <td align="left">行政区划</td>
                            <td>
                                <input type="text" name="XZArea" id="XZArea" style="width: 200px; height: 20px;" /><img src="../pic/kc.png" width="16" height="16" align="absmiddle" onclick="showUploadDialogt()" style="cursor: pointer; vertical-align: bottom;" /></td>



                        </tr>
                        <tr>
                            <td height="35">形成时间</td>
                            <td colspan="3">

                                <input type="text" id="START_DATE" name="START_DATE" value="" style="width: 178px; height: 20px;" onfocus="WdatePicker()" />
                                <img src="../img/calendar.gif" width="18" height="20" alt="开始时间" style="cursor: pointer" />
                                &nbsp;到&nbsp;<input type="text" id="END_DATE" name="END_DATE" value="" style="width: 178px; height: 20px;" onfocus="WdatePicker()" />
                                <img src="../img/calendar.gif" width="18" height="20" alt="结束时间" style="cursor: pointer" />
                            </td>
                        </tr>


                        <tr>
                            <td height="36">&nbsp;</td>
                            <td height="36">&nbsp;</td>
                            <td height="36">&nbsp;</td>
                            <td height="36">

                                <asp:ImageButton src="../pic/search.png" ID="SearchBtn" runat="server"
                                    OnClick="SearchBtn_Click" />

                            </td>
                        </tr>


                    </table>
                    <div id="FileList" style="margin: 10px 5px 10px 5px; position: relative; display: none;" runat="server">
                        <div style="min-height: 265px;">

                            <dl>
                                <asp:DataList ID="dl_FileList" runat="server">
                                    <ItemTemplate>

                                        <dt>
                                            <div align="left">
                                                <font color="#000000">&#9830;</font>
                                                <a id="DocFile" class="" target="_blank" href="../GeoDataDetails.aspx?FID=<%#Eval("FILE_ID")%>">[<%#Eval("FILE_ID")%>]-<%#Eval("TITLE")%></a>
                                            </div>
                                        </dt>
                                        <dd>[<%#Eval("PUT_IN_TIME")%>]</dd>

                                    </ItemTemplate>

                                </asp:DataList>
                            </dl>
                        </div>
                        <webdiyer:AspNetPager ID="AspNetPager1" CssClass="paginator" runat="server" PageSize="10" ShowBoxThreshold="1" AlwaysShow="True" FirstPageText="首页" LastPageText="末页" CurrentPageButtonClass="cpb"
                            NextPageText="下一页" PrevPageText="上一页" OnPageChanging="AspNetPager1_PageChanging" HorizontalAlign="center">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
        </div>
        </div>
    </form>
</body>
</html>
